<template>
  <!-- 公共版头 -->
  <div class="public_header">
    <van-cell :title="title">
      <template #right-icon>
        <div class="public_header_right">更多</div>
      </template>
    </van-cell>
  </div>
</template>
<script>
export default {
  name: 'PublicHeader',
  props: {
    title: {
      type: String,
      default: '标题'
    }
  }
}
</script>
<style lang="scss">
.public_header{
 &_right{
   color: #3B7BE6;
   font-size: 14px;
 }
 .van-cell{
   padding: 0 15px;
   height: 50px;
   line-height: 50px;
 }
 .van-cell_title{
   width: 80px;
   height: 23px;
   font-size: 16px;
   font-weight: 400;
   color: red;
   line-height: 23px;
 }

}
</style>
